package com.cictec.middleware.api.dc;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.cictec.middleware.commons.utils.Result;
import com.cictec.middleware.core.entity.WarnMsg;

public interface MiddlewareDcBusWarnService {

	@RequestMapping(value = "/dc/warn/save")
	public Result saveWarn(WarnMsg warnMsg);

	@RequestMapping(value = "/dc/warn/delete")
	public Result deleteWarn(@RequestParam("date") String date, @RequestParam("warnType") String warnType,
			@RequestParam("busUuid") String busUuid);

}
